import http from '@/utils/request.js'

/**
 * 上传视频文件
 * @param {string} filePath - 本地临时文件路径
 * @param {Object} options - 额外配置，例如 onProgress、onTaskReady 等
 * @returns {Promise<any>}
 */
export function uploadVideo(filePath, options = {}) {
	return http.uploadFile('/douyang/file/uploadVideo', filePath, options)
}

export default {
	uploadVideo
}

